#define _CRT_SECURE_NO_WARNINGS 1
#include "Slist.h"

int main()
{
	/*SLNode *a1 = (SLNode*)malloc(sizeof(SLNode));
	a1->a = 1;
	SLNode *a2 = (SLNode*)malloc(sizeof(SLNode));
	a2->a = 5;
	a1->next = a2;
	a2->next = NULL;
	Print(a1);*/

	SLNode* a = NULL;
	/*SLPushback(&a, 1);
	SLPushback(&a, 5);
	SLPushback(&a, 6);
	SLPushback(&a, 7);
	SLPushback(&a, 8);*/

	SLPushfront(&a, 2);
	SLPushfront(&a, 3);
	SLPushfront(&a, 4);
	SLPushfront(&a, 5);
	Print(a);
}